package com.gifts.service;

import com.gifts.service.client.GoogleShoppingClient;
import com.gifts.service.entity.GoogleShoppingObj;

public class GoogleShoppingService {
	private static final GoogleShoppingService INSTANCE = new GoogleShoppingService();
	
	
	public static  GoogleShoppingService getInstance() {
		return INSTANCE;
	}

	public GoogleShoppingObj find(String query, Double price1, Double price2) {
		GoogleShoppingClient googleShoppingClient = new GoogleShoppingClient(query,price1,price2);
		return googleShoppingClient.getGoogleProducts();
	}

}
